package com.generator;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Controller;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.bind.annotation.RequestMapping;
@MapperScan(basePackages={"com.generator.**.dao","com.generator.*.dao","com.generator.***.dao","com.generator.**.dao.xml"})
@SpringBootApplication
@EnableTransactionManagement
public class BootProject01Application {

    public static void main(String[] args) {
        SpringApplication.run(BootProject01Application.class, args);
    }

}

@Controller
class Start{

    @RequestMapping("/")
    public String start(){

        return "login";

    }

}

